libxl: New error codes ABORTED etc.
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 20 Dec 2013 15:18:59 +0000 (15:18 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 26 Jun 2015 15:53:50 +0000 (16:53 +0100)
commit1bbae427d635121fa73241e4ff4c2f72a889d746
tree6041f867a78bdb84a873fc84c69f7ccf4a0031cf
parent1772b78c33fcd3f475269a342cc4cab8f285bf97
libxl: New error codes ABORTED etc.

We introduce ERROR_ABORTED now, so that we can write code to handle
it, and decreee that functions might return it, even though currently
there is nowhere where this error is generated.

While we're here, provide ERROR_NOTFOUND which will also be used
later, but only as part of the public API.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
---
v4: CANCELLED renamed to ABORTED.
    No longer introduce ERROR_NOTIMPLEMENTED.
v2: Rebase means new errors have bigger (more negative) numbers.
tools/libxl/libxl_types.idl